package cn.onein.edu.backend.job;

import cn.onein.edu.backend.jms.producer.SendMailProducer;

/**
 * JOB基类
 * @author Upton
 *
 */
public abstract class BaseJob {
	private SendMailProducer sendMailProducer;

	public void setSendMailProducer(SendMailProducer sendMailProducer) {
		this.sendMailProducer = sendMailProducer;
	}
	
	public SendMailProducer getSendMailProducer(){
		return sendMailProducer;
	}
	
	/**
	 * 启动JOB
	 */
	public abstract void start();
}
